package com.alks.entity.data.entity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-01-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_LOT_MTL_PREPAIR")
@ApiModel(value="PcLotMtlPrepair对象", description="")
public class PcLotMtlPrepair implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    @TableId(value = "COMPANY_ID", type = IdType.AUTO)
    private String companyId;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "品牌")
    private String custom;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "订单数量")
    private BigDecimal orderQty;

    @ApiModelProperty(value = "楦头")
    private String lastNo;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "下单时间")
    private LocalDateTime orderDate;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "交期")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "成型线别")
    private String lastLine;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "成型上线日")
    private LocalDateTime lastDate;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "业务色卡计划日期")
    private LocalDateTime bussPlan;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "业务色卡实际日期")
    private LocalDateTime bussAct;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "技转核料计划日期")
    private LocalDateTime techBomPlan;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "技转核料实际日期")
    private LocalDateTime techBomAct;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "技转试做计划日期")
    private LocalDateTime techTrailPlan;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "技转试做实际日期")
    private LocalDateTime techTrailAct;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "面料下单计划日期")
    private LocalDateTime upperPurPlan;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "面料下单实际日期")
    private LocalDateTime upperPurAct;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "大底下单计划日期")
    private LocalDateTime solePurPlan;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "大底下单实际日期")
    private LocalDateTime solePurAct;

    @ApiModelProperty(value = "主面料采购周期")
    private BigDecimal upperMtlLt;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "主面料评审计划日期")
    private LocalDateTime upperMtlPush;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "主面料生产采购回复日期")
    private LocalDateTime upperMtlVendor;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "主面料需求日期")
    private LocalDateTime upperMtlPull;

    @ApiModelProperty(value = "主面料差异天数")
    private BigDecimal upperMtlDiff;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "主面料生控计划日期")
    private LocalDateTime upperMtlPmc;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "主面料实际完成日期")
    private LocalDateTime upperMtlAct;

    @ApiModelProperty(value = "大底采购周期")
    private BigDecimal soleMtlLt;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "大底评审计划日期")
    private LocalDateTime soleMtlPush;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "大底采购回复日期")
    private LocalDateTime soleMtlVendor;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "大底生产需求日期")
    private LocalDateTime soleMtlPull;

    @ApiModelProperty(value = "大底差一天书")
    private BigDecimal soleMtlDiff;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "大底生控计划日期")
    private LocalDateTime soleMtlPmc;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "大底实际完成日期")
    private LocalDateTime soleMtlAct;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "面衬计划日期")
    private LocalDateTime sockMtlPlan;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "面衬实际日期")
    private LocalDateTime sockMtlAct;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "包材计划日期")
    private LocalDateTime packMtlPlan;

    @DateTimeFormat("MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "包材实际日期")
    private LocalDateTime packMtlAct;

    @ApiModelProperty(value = "外协评审门槛")
    private BigDecimal hfLt;

    @ApiModelProperty(value = "外协实际门槛")
    private BigDecimal hfAct;

    @ApiModelProperty(value = "外协差异天数")
    private BigDecimal hfDiff;


}
